<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>数据库管理</title>
<load href="__PUBLIC__/Css/admin_style.css"/>
</head>

<body>
<table width="400" border="0" cellspacing="0" cellpadding="0" class="table_class1">
  <tr>
    <td><a href="__URL__/bakbytp/zip/0" onclick="if(!confirm('数据库备份比较危险,请慎重!')){return false;}">数据库备份(无压缩)</a></td>
    <td><a href="__URL__/bakbytp/zip/1" onclick="if(!confirm('数据库备份比较危险,请慎重!')){return false;}">数据库备份(有压缩)</a></td>
    <td><a href="javascript:void(0);" onclick="var o=document.getElementById('rebak'); if(o.style.display=='block'){o.style.display='none';}else{o.style.display='block';}">数据库还原(执行时间较长)</a></td>
  </tr>
</table>

<div id="rebak" style="display:none">
  <table  border="0" cellspacing="0" cellpadding="0" class="table_class1">
  <form action="__URL__/rebakbytp" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <tr>
  <td>
   数据库编码:
	<select name="charset" id="charset">
    <option value="utf-8" selected="selected" > UTF8 </option>
    <option value="gb2312" > GB2312 </option>
    <option value="gbk" > GBK </option>
   </select>(一般不需要选择)
  </td>
  <td >
    <input type="file" name="sqlFile" id="sqlFile" />
    <input type="submit" name="button" id="button" value="还原" onclick="if(!confirm('还原数据库会覆盖以前的数据,有一定的危险性,请慎重操作')){return false;}"/>
  </td>
  </tr>
    </form>
  </table>
  </div>
</body>
</html>
